﻿<%@ Page Language="C#" MasterPageFile="~/DefaultPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>

<%@ Register src="../usercontrol/products/productmain.ascx" tagname="productmain" tagprefix="uc1" %>

<%@ Register src="../usercontrol/products/Searchadvantage.ascx" tagname="Searchadvantage" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script language="javascript" src="http://localhost:2011/didong/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="http://localhost:2011/didong/js/jquery.easing.js"></script>
<script language="javascript" type="text/javascript" src="http://localhost:2011/didong/js/script.js"></script>
<script language="javascript" type="text/javascript" src="http://localhost:2011/didong/js/jquery.leanModal.min.js"></script>
<script   language="javascript" src="http://localhost:2011/didong/js/plugin.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHeader" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceSlide" Runat="Server">
    
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceMain" Runat="Server">

   <div class="search">
                             
              <div class="colsearch">             
                     <asp:DropDownList ID="drbrand" runat="server" Height="25px" Width="156px">
                         <asp:ListItem Value="0">- -Tất cả các hãng---</asp:ListItem>
                         <asp:ListItem Value="1">Nokia</asp:ListItem>
                         <asp:ListItem Value="2">Samsung</asp:ListItem>
                        
                     </asp:DropDownList>
            </div>
              <div class="colsearch">  
             <asp:DropDownList ID="drpricemin" runat="server" Height="25px" Width="157px">
               
                <asp:ListItem>- - -Giá từ- - -</asp:ListItem> 
                <asp:ListItem>100000</asp:ListItem>
                         <asp:ListItem>200000</asp:ListItem>
                         <asp:ListItem>500000</asp:ListItem>
                         <asp:ListItem>1000000</asp:ListItem>
                         <asp:ListItem>2000000</asp:ListItem>
             </asp:DropDownList>
            </div> 
              <div class="colsearch">  
                  
             <asp:DropDownList ID="drpricemax" runat="server" Height="25px" Width="156px">
             <asp:ListItem>- - -Đến giá- - -</asp:ListItem>
                  <asp:ListItem>500000</asp:ListItem>
                 <asp:ListItem>1000000</asp:ListItem>
                 <asp:ListItem>2000000</asp:ListItem>
                 <asp:ListItem>4000000</asp:ListItem>
                 <asp:ListItem>5000000</asp:ListItem>
             </asp:DropDownList>
            </div> 
              <div>  
                    
                 <asp:Button ID="btnsearch" runat="server" Text="Tìm kiếm" 
                      onclick="btnsearch_Click" UseSubmitBehavior="False" />
             </div> 
                
 </div>
  <asp:Repeater ID="Rpcaregory" runat="server"
  
        onitemdatabound="Rpcaregory_ItemDataBound">
        <ItemTemplate>
           <div class="groupheader">
                <img src="http://localhost:2011/didong/images/design/arrow.gif" alt="" />
                <a href='<%# "http://localhost:2011/didong/category/" + Eval("Category_Title") %>'
                    title='<%#Eval("Category_Name") %>'>
                    <%#Eval("Category_Name") %></a>
            </div>
            <asp:ListView ID="litsproduct" runat="server">
                <GroupTemplate>
                    <div id="items" runat="server" class="group">
                        <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                    </div>
                </GroupTemplate>
                <LayoutTemplate>
                    <div class="groupborder">
                        <div runat="server" id="groupPlaceholder" class="groupborder">
                            <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                        </div>
                    </div>
                </LayoutTemplate>
                <ItemTemplate>
                        	<div class="items">
							<div class="borderImage"><a href='<%#"http://localhost:2011/didong/product/"+Eval("Products_Title")%>'><img  src='<%#"http://localhost:2011/didong/"+Eval("Products_Image") %>' alt=""/></a></div>
							<ul>
								<li class="sp-name"><a href='<%#"http://localhost:2011/didong/product/"+Eval("Products_Title")%>'><%# Eval("Products_Name") %></a></li>
								<li class="sp-price">Giá bán:<%#Eval("Products_Price")%> VNĐ</li>
								<li class="buy"><a href="#"> <img src="../images/design/buttonbuy.png"/></a></li>								
							</ul>
					</div>
                </ItemTemplate>
               <EmptyDataTemplate>
                    <div class="groupborder">
                      <center>Không có sản phẩm</center>
                    </div>
                </EmptyDataTemplate>
            </asp:ListView>
        
        </ItemTemplate>
    </asp:Repeater>
    
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceFooter" Runat="Server">
</asp:Content>

